#pragma once
class customer
{
private:
	int arrived;
	int errand_time;
	int serviced;
public:

	customer() : arrived(-1), errand_time(-1), serviced(-1)
	{
	}

	customer(int arrived, int errand_time)
	{
		this->arrived = arrived;
		this->errand_time = errand_time;
		this->serviced = 0;
	}

	~customer()
	{
	}

	void incr_serviced() { serviced++; }
	bool errand_complete() { return errand_time == serviced; }

	int get_wait_time(int cur_time){ return cur_time - arrived; }
};

